github.com/charmbracelet/ultraviolet.EventDecoder.lastCks (field)
8 uses
github.com/charmbracelet/ultraviolet (current package)
decoder.go#L209: lastCks uint32 // the last control key state for the previous key event record.
decoder.go#L1850: p.lastCks = cks
decoder.go#L1877: } else if p.lastCks&xwindows.SHIFT_PRESSED != 0 {
decoder.go#L1878: if p.lastCks&xwindows.ENHANCED_KEY != 0 {
decoder.go#L1889: } else if p.lastCks&xwindows.LEFT_CTRL_PRESSED != 0 {
decoder.go#L1891: } else if p.lastCks&xwindows.RIGHT_CTRL_PRESSED != 0 {
decoder.go#L1899: } else if p.lastCks&xwindows.LEFT_ALT_PRESSED != 0 {
decoder.go#L1901: } else if p.lastCks&xwindows.RIGHT_ALT_PRESSED != 0 {
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)